<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/modules/cms/front/include/taglib.jsp"%>
<!DOCTYPE html>
<html>
<head>
	<%-- <title>首页</title> --%>
	<meta name="decorator" content="ems_${site.theme}_front" />
	<meta name="description" content="JeeSite ${site.description}" />
	<meta name="keywords" content="JeeSite ${site.keywords}" /> 
	<style type="text/css">
	.mainc{ width:100%;}
	.mainc img{max-width: 100%;  }
	</style>
</head>
<body>
	<form id="pageForm" method="post" name="subForm" action="${ctx }/list-${category.id}${urlSuffix}?siteId=${site.id }&key=${key }">
		<input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo}"/>
		<input id="pageSize" name="pageSize" type="hidden" value="${page.pageSize}"/>
		<input id="id" name="categoryId" type="hidden" value="${category.id}"/>
	</form>
	
	
<!--主界面部分-->
		 
	<header class="mui-bar mui-bar-nav" style="background:url('${ctxStatic }/weixin/images/navbg.jpg');"> 
		<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left" style="color: #fff;"></a>
			<div style="width:80%; overflow: hidden; margin:0  10%; line-height: 44px; text-align:left; vertical-align: middle; height: 100%;color:#fff;">
			${category.name }
			 </div> 
	</header>
 
 
		<div class="mui-content" style="padding-top:50px; padding-bottom: 60px; overflow-y: scroll; height:auto;">
		    <div class="mui-card">
				<div class="mui-card-content">
					<div class="mui-card-content-inner" style="padding: 10px;font-size: 12px;color: #333;border-bottom: 1px solid #ccc;">
					<span class="mui-icon mui-icon-location-filled" ></span>当前位置：${category.name }
					</div>
				</div>
			</div>
				 
			<div class="mui-content-padded" style="margin-top: 30px;">	 
		     		<h3 style="text-align: center;">${article.title}</h3>
		     		<h6 style="text-align: center;">来源：

					<c:if test="${empty article.articleData.copyfrom }">
				 	山东省少先队服务中心
					 </c:if>
					 <c:if test="${not empty article.articleData.copyfrom }">
					 	${article.articleData.copyfrom }
					 </c:if>
		
					 &nbsp;作者:${article.createBy.name }&nbsp;时间：<fmt:formatDate value="${article.createDate}" pattern="yyyy-MM-dd HH:mm:ss"/></h6>
		     	<div style="padding: 20px; font-size: 14px; color: #999;">
		     		 <div class="mainc">${article.articleData.content}</div>
		     	</div>
		     </div> 
		</div>
		 
	</body>
</html>